package com.ocm.commerceinteraction.model;

import java.util.List;

/**
 * Created by Curry on 2016-5-2.
 */
public class SearchUserList {


    /**
     * list : [{"id":"2","nick":"刘德华","sex":"1","signatrure":"","grade":"普通会员","user_uniq_id":"140873884","balance":"0","icon":"/data/icon/103.png"}]
     * p : 1
     * total_pages : 1
     */

    private DataEntity data;
    /**
     * data : {"list":[{"id":"2","nick":"刘德华","sex":"1","signatrure":"","grade":"普通会员","user_uniq_id":"140873884","balance":"0","icon":"/data/icon/103.png"}],"p":"1","total_pages":1}
     * msg : 成功
     * status : true
     */

    private String msg;
    private boolean status;

    public void setData(DataEntity data) {
        this.data = data;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public void setStatus(boolean status) {
        this.status = status;
    }

    public DataEntity getData() {
        return data;
    }

    public String getMsg() {
        return msg;
    }

    public boolean isStatus() {
        return status;
    }

    public static class DataEntity {
        private String p;
        private int total_pages;
        /**
         * id : 2
         * nick : 刘德华
         * sex : 1
         * signatrure :
         * grade : 普通会员
         * user_uniq_id : 140873884
         * balance : 0
         * icon : /data/icon/103.png
         */

        private List<ListEntity> list;

        public void setP(String p) {
            this.p = p;
        }

        public void setTotal_pages(int total_pages) {
            this.total_pages = total_pages;
        }

        public void setList(List<ListEntity> list) {
            this.list = list;
        }

        public String getP() {
            return p;
        }

        public int getTotal_pages() {
            return total_pages;
        }

        public List<ListEntity> getList() {
            return list;
        }

        public static class ListEntity {
            private String id;
            private String nick;
            private String sex;
            private String signatrure;
            private String grade;
            private String user_uniq_id;
            private String balance;
            private String icon;

            public void setId(String id) {
                this.id = id;
            }

            public void setNick(String nick) {
                this.nick = nick;
            }

            public void setSex(String sex) {
                this.sex = sex;
            }

            public void setSignatrure(String signatrure) {
                this.signatrure = signatrure;
            }

            public void setGrade(String grade) {
                this.grade = grade;
            }

            public void setUser_uniq_id(String user_uniq_id) {
                this.user_uniq_id = user_uniq_id;
            }

            public void setBalance(String balance) {
                this.balance = balance;
            }

            public void setIcon(String icon) {
                this.icon = icon;
            }

            public String getId() {
                return id;
            }

            public String getNick() {
                return nick;
            }

            public String getSex() {
                return sex;
            }

            public String getSignatrure() {
                return signatrure;
            }

            public String getGrade() {
                return grade;
            }

            public String getUser_uniq_id() {
                return user_uniq_id;
            }

            public String getBalance() {
                return balance;
            }

            public String getIcon() {
                return icon;
            }
        }
    }
}
